//
//  UIViewController+NavButton.h
//  INMOTION
//
//  Created by Kyle on 14-4-15.
//  Copyright (c) 2014年 Inmotion. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (NavButton)


- (nullable UIBarButtonItem *)addNavButtonWithTitle:(nullable NSString *)title andSide:(NSInteger)side andSeloctor:(nullable SEL)selector;

- (nullable UIButton *)addNavButtonWithNormalImage:(nullable NSString *)normalImage andPressedImage:(nullable NSString *)pressedImage andSide:(NSInteger)side andSeloctor:(nullable SEL)selector;

// 删除图片按钮
- (void)removeNavButton;

// 判断右上角图片按钮是否存在
- (BOOL)hasNavRightButton;

- (nullable UIButton *)addBackButton;

@end
